﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PartyCraftServer.Plugins
{
    public abstract class Plugin
    {
        public abstract string Name { get; }
        public abstract bool RequiresRestart { get; }

        /// <summary>
        /// This method is called when the plugin is
        /// first installed.  Plugins are re-installed
        /// every time you start the server, so this
        /// hook up to event handlers and initialize here.
        /// </summary>
        public virtual void OnInstall() { }
    }
}
